package com.jindy.module.AssetReceive.mapper;

import java.util.List;
import com.jindy.module.AssetReceive.domain.AssetReceive;

/**
 * 资产领用Mapper接口
 *
 * @author jindy
 * @date 2023-04-20
 */
public interface AssetReceiveMapper
{
    /**
     * 查询资产领用
     *
     * @param id 资产领用主键
     * @return 资产领用
     */
    public AssetReceive selectAssetReceiveById(Long id);

    /**
     * 查询资产领用列表
     *
     * @param assetReceive 资产领用
     * @return 资产领用集合
     */
    public List<AssetReceive> selectAssetReceiveList(AssetReceive assetReceive);

    /**
     * 新增资产领用
     *
     * @param assetReceive 资产领用
     * @return 结果
     */
    public int insertAssetReceive(AssetReceive assetReceive);

    /**
     * 修改资产领用
     *
     * @param assetReceive 资产领用
     * @return 结果
     */
    public int updateAssetReceive(AssetReceive assetReceive);

    /**
     * 删除资产领用
     *
     * @param id 资产领用主键
     * @return 结果
     */
    public int deleteAssetReceiveById(Long id);

    /**
     * 批量删除资产领用
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetReceiveByIds(Long[] ids);
}
